import { defineConfig } from 'umi';
import routes from './routes';

export default defineConfig({
  // routes: routes,
  nodeModulesTransform: {
    type: 'none',
  },
  fastRefresh: {},

  antd: {
    dark: false,
    compact: true,
  },

  // layout: {
  //   name: 'Ant Design Pro',
  //   logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
  //   // copy from pro site
  //   navTheme: 'dark',
  //   primaryColor: '#1890ff',
  //   layout: 'sidemenu',
  //   contentWidth: 'Fluid',
  //   fixedHeader: false,
  //   fixSiderbar: false,
  //   title: 'Ant Design Pro',
  //   iconfontUrl: '',
  // },
});